package com.gqz.springbootdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@TableName("opm_menu")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuPO implements Serializable {
    @TableId(type = IdType.ASSIGN_ID,value = "id")
    private Long id;

    @TableField(value = "top_org_id")

    private java.lang.Long topOrgId;

    @TableField(value = "org_id")

    private java.lang.Long orgId;

    @TableField(value = "dept_id")

    private java.lang.Long deptId;

    @TableField(value = "created_by")

    private java.lang.Long createdBy;

    @TableField(value = "created_by_name")

    private java.lang.String createdByName;

    @TableField(value = "when_created")

    private java.util.Date whenCreated;

    @TableField(value = "modified_by")

    private java.lang.Long modifiedBy;

    @TableField(value = "modified_by_name")

    private java.lang.String modifiedByName;

    @TableField(value = "when_modified")

    private java.util.Date whenModified;

    @TableField(value = "product_id")

    private java.lang.Long productId;

    @TableField(value = "parent_id")

    private java.lang.Long parentId;

    @TableField(value = "name")

    private java.lang.String name;

    @TableField(value = "form_id")

    private java.lang.Long formId;

    @TableField(value = "open_browser_flag")

    private java.lang.Integer openBrowserFlag;

    @TableField(value = "open_form_type")

    private java.lang.Integer openFormType;

    @TableField(value = "param")

    private java.lang.String param;

    @TableField(value = "can_show_on_portal")

    private java.lang.Integer canShowOnPortal;

    @TableField(value = "is_public")

    private java.lang.Integer isPublic;

    @TableField(value = "icon")

    private java.lang.String icon;

    @TableField(value = "state")

    private java.lang.Integer state;

    @TableField(value = "seq")

    private java.lang.Integer seq;

    @TableField(value = "is_handset_menu")

    private java.lang.Integer isHandsetMenu;

    @TableField(value = "source_id")

    private java.lang.Long sourceId;

    @TableField(value = "url")

    private java.lang.String url;

    @TableField(value = "type")

    private java.lang.Integer type;

    @TableField(value = "main_name")

    private java.lang.String mainName;

    @TableField(value = "cate")

    private java.lang.Integer cate;

    @TableField(value = "get_count_config")

    private java.lang.String getCountConfig;

    @TableField(exist = false)
    private List<MenuPO> children;
}